﻿
Ext.application({
    name: 'PT',
    paths: {
        'PT': 'app'
    },
    controllers: [
        'NavController'
    ],
    autoCreateViewport: true
});

//
String.prototype.insert = function (index, string) {
    if (index > 0)
        return this.substring(0, index) + string + this.substring(index, this.length);
    else
        return string + this;
};